package com.customer.hystrix.servie;

import org.springframework.stereotype.Service;

/**
 * @Author：Administrator
 * @Date：2022/7/13/0013 22:34
 * @Versiion：1.0
 */
@Service
public class HystrixServiceImpl implements HystrixService {
    @Override
    public String paymentOk1() {
        //服务访问不到就降级 
        return "降级  ---fallback paymentOk1---- ";
    }

    @Override
    public String paymentTimeout1() {
        return "降级  ---fallback paymentTimeout1---- ";
    }

    @Override
    public String paymentCircuitBreaker() {
        return null;
    }
}
